#include "pin.h"

Pin::Pin(int sea)
{
  pin_state = unmanned;
  if (sea == 0)
  {
    pin_season = spring;
  }
  else if (sea==1)
  {
    pin_season = summer;
  }
  else if (sea == 2)
  {
    pin_season = autumn;
  }
  else if (sea == 3)
  {
    pin_season = winter;
  }
  else
  {
    pin_season = nothing;
  }
}

Pin::Pin()
{

}
